From b55b1773c0e03c0d35376c72d916230f894d3604 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sat, 18 Apr 2020 14:59:52 -0400 Subject: [PATCH] docs: Mention focus adjustments in the migration guide --- docs/reference/gtk/migrating-3to4.xml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/reference/gtk/migrating-3to4.xml b/docs/reference/gtk/migrating-3to4.xml index a7867f2e17..f1f8455b19 100644 --- a/docs/reference/gtk/migrating-3to4.xml +++ b/docs/reference/gtk/migrating-3to4.xml @@ -494,6 +494,12 @@ The recommended way to influence focus behavior of custom widgets in GTK 4 is to override the focus() and grab_focus() vfuncs. + + The feature to automatically keep the focus widget scrolled into view + with gtk_container_set_focus_vadjustment() has been removed from + GtkContainer, and is provided by scrollables instead. In the common case + that the scrollable is a #GtkViewport, use #GtkViewport:scroll-to-focus. +
-- 2.30.2